/**
 * Created by huotaol on 2017/4/27.
 */
import * as types from "../../constant/ActionType";


export function colleciton(count) {
    return {type: types.MINE_COLLECTION, count,};
}

export function auction(count) {
    return {type: types.MINE_AUCTION, count,};
}

export function view(count) {
    return {type: types.MINE_VIEW, count,};
}

export function userData(param) {
    const {id, token, phone, info} = param;
    return {
        type: types.USER_DATA,
        id,
        token,
        phone,
        info,
    };
}
